package com.lin.activity;

import java.util.ArrayList;

import com.lin.fragments.PersonalDetailCardCallHistoryFragment;
import com.lin.fragments.PersonalDetailCardMSMAndCALLFragment;
import com.lin.utils.Session;
import com.lin.utils.Session.ResultReceiver;
import com.lin.views.ListViewForFriendShare;
import com.lin.views.MyFragmentAdapter;
import com.yunfeng.supercall.R;
import com.yunfeng.supercall.activity.BaseActivity;
import com.yunfeng.supercall.activity.ShareActivity;
import com.yunfeng.supercall.bean.Constants;
import com.yunfeng.supercall.bean.FriendsShareBean;
import com.yunfeng.supercall.fragment.RegStep2EnterPriseFragment;
import com.yunfeng.supercall.fragment.RegStep2PersonalFragment;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPager;
import android.support.v4.view.ViewPager.OnPageChangeListener;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.Animation.AnimationListener;
import android.widget.FrameLayout;
import android.widget.TextView;

public class EntrepriseRegisterStep2Activity extends FragmentActivity {
	private ViewPager mViewPager;
	private String phone;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_viewpager);
		mViewPager = (ViewPager) findViewById(R.id.mainViewPager);
		phone = getIntent().getStringExtra("phone");
		Bundle bundle = new Bundle();
		bundle.putString("data", phone);
		
		RegStep2EnterPriseFragment mSuperFriendDynamicFansFragment1 = new RegStep2EnterPriseFragment();
		mSuperFriendDynamicFansFragment1.setArguments(bundle);
		ArrayList<Fragment> mFragments1 = new ArrayList<Fragment>();
		mFragments1.add(mSuperFriendDynamicFansFragment1);
		MyFragmentAdapter mFragmentAdapter = new MyFragmentAdapter(getSupportFragmentManager(),
				mFragments1);
		
		mViewPager.setAdapter(mFragmentAdapter);
	}
	
}